<?php
/*
This is a Flight helper class. Instance of
this class can store flight information.
*/

class GasRecord{
    private $ID;
    private $gasStationName;
    private $time;
    private $gasPrice;
    public $totalPrice;
    public $amount;
    public $mileage;
    private $oilWear;

    function set_ID($ID){
            $this->ID = $ID;
        }
    function set_GasStationName($gasStationName){
            $this->gasStationName = $gasStationName;
        }
    function set_Time($time){
            $this->time = $time;
        }
    function set_GasPrice($gasPrice){
            $this->gasPrice = $gasPrice;
        }

    function set_TotalPrice($totalPrice){
        $this->totalPrice = $totalPrice;
    }

    function set_Amount($amount){
        $this->amount = $amount;
    }
    function set_OilWear($oilWear){
        $this->oilWear=$oilWear;
    }

    function set_Mileage($mileage){
        $this->mileage = $mileage;
    }

    function get_ID(){
            return $this->ID;
        }
    function get_GasStationName(){
            return $this->gasStationName;
        }
    function get_Time(){
            return $this->time;
        } 
    function get_gasPrice(){
            return $this->gasPrice;
        }

    function get_TotalPrice(){
          return  $this->totalPrice;
        }
        
    function get_Amount(){
           return $this->amount;
        }

    function get_Mileage(){
       return $this->mileage ;
    }

    function get_OilWear(){
        return $this->oilWear;
    }
}
?>